/**
 * @param {number} x
 * @return {boolean}
 */
 var isPalindrome = function(x) {
     var str = x.toString();
     let arr = str.split('');
     console.log(arr);


};
isPalindrome(131);